import request from '../utils/request'

export const addHouseMedia = async (data: HouseMedia) => 
await request('/house-media', 'POST', data)

export const getHouseMedia = async (houseResId: string) =>
await request(`/house-media?houseResId=${houseResId}`, 'GET')